const fs = require('fs')


// 流式写入 
// fs.createWriteStream
const ws = fs.createWriteStream('./createWriteStream文件流写入.tex')

ws.write('11111\r\n')
ws.write('2222222\r\n')
ws.write('3333333333\r\n')

ws.close()